home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
More Source
/
C⁄C++
/
Arashi 1.1
/
Game Source
/
F⁄X
/
Squeezemain.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-09
|
611b
|
37 lines
/*/
Project Arashi/STORM: Squeezemain.c
Major release: 9/9/92
Last modification: Wednesday, September 9, 1992, 21:42
Created: Saturday, October 6, 1990, 1:16
Copyright © 1990-1992, Juri Munkki
/*/
#include "Shuddup.h"
#define COMPRESS
void main()
{
int i;
long ticker;
DoInits();
SetPort(GetNewWindow(1000,0,-1));
#ifdef COMPRESS
OpenResFile("\P STORM.rsrc");
DoCompress();
#else
ticker=TickCount();
InitSoundKit();
ticker=TickCount()-ticker;
SKVolume(8);
for(i=0;i<NumSounds;i++)
{ PlayA(i,999);
while(!Button());
while(Button());
}
CloseSoundKit();
#endif
}